﻿
using BCCommon;
using BCCommon.Enums;
using BCData.TMS.WorryFreeMoveSuiteConfigTemplate;
using BCDto.Sim.Admin.Admin;
using BCDto.TMS.WorryFreeMoveSuiteConfigTemplate;
using BCEntity.TMS.WorryFreeMoveSuiteConfigTemplate;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.TMS.WorryFreeMoveSuiteConfigTemplate
{
	/// <summary>
	/// 无忧搬家套餐配置模板
	/// </summary>
	public interface IWorryFreeMoveSuiteConfigTemplateService
	{
		#region  成员方法
		/// <summary>
		/// 是否存在此记录
		/// </summary>
		/// <param name="worryFreeMoveSuiteConfigTemplateId">无忧搬家套餐配置模板Id</param>
		bool Exists(int worryFreeMoveSuiteConfigTemplateId);
		/// <summary>
		/// 添加无忧搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="requestDto">无忧搬家套餐配置模板信息</param>
		WorryFreeMoveSuiteConfigTemplateDto Add(AdminDto adminDto,WorryFreeMoveSuiteConfigTemplateRequestDto requestDto);
		/// <summary>
		/// 更新无忧搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="putDto">无忧搬家套餐配置模板信息</param>
		WorryFreeMoveSuiteConfigTemplateDto Update(AdminDto adminDto, WorryFreeMoveSuiteConfigTemplatePutDto putDto);
		/// <summary>
		/// 删除无忧搬家套餐配置模板
		/// </summary>
		/// <param name="worryFreeMoveSuiteConfigTemplateId">无忧搬家套餐配置模板Id</param>
		bool Delete(int worryFreeMoveSuiteConfigTemplateId);
		/// <summary>
		/// 获取无忧搬家套餐配置模板
		/// </summary>
		/// <param name="worryFreeMoveSuiteConfigTemplateId">无忧搬家套餐配置模板Id</param>
		WorryFreeMoveSuiteConfigTemplateDto Get(int worryFreeMoveSuiteConfigTemplateId);
		/// <summary>
		/// 获取无忧搬家套餐配置模板列表
		/// </summary>
		IEnumerable<WorryFreeMoveSuiteConfigTemplateDto> GetList();
		/// <summary>
		/// 获取无忧搬家套餐配置模板分页列表
		/// </summary>
		/// <param name="suiteName">套餐名称</param>
		/// <param name="enabled">启用</param>
		/// <param name="start">开始时间</param>
		/// <param name="end">结束时间</param>
		/// <param name="sortName">排序字段</param>
		/// <param name="ascending">升序</param>
		/// <param name="pageIndex">当前页码</param>
		/// <param name="pageSize">无忧搬家套餐配置模板每页数据条数</param>
		PageableList<WorryFreeMoveSuiteConfigTemplateDto> Query(string suiteName, bool? enabled, DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
		/// <summary>
		/// 启用无忧搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="worryFreeMoveSuiteConfigTemplateId">无忧搬家套餐配置模板Id</param>
		bool Enabled(AdminDto adminDto, int worryFreeMoveSuiteConfigTemplateId);
		/// <summary>
		/// 禁用无忧搬家套餐配置模板
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="worryFreeMoveSuiteConfigTemplateId">无忧搬家套餐配置模板Id</param>
		bool Disabled(AdminDto adminDto, int worryFreeMoveSuiteConfigTemplateId);
		#endregion  成员方法
	}
}